package com.baizhi.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UploadVideoDTO {
    private MultipartFile file;
    private String title;
    private String intro;
    @JsonProperty("category_id")
    private Integer categoryId;
}
